<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		
		
		<style>
			
			
			.box{
				background-color: aqua;
			}
			/* 幽灵空白节点去除，将img变为块级元素 display: block */
			.img1{
				display: block;
			}
			
			
			
			
		</style>
	
	</head>
	
	<body>
		
		
		
		<div class="box">
			<img src="./img/img/1.jpg" class="img1" alt="">
		</div>
		
		
		
		
		
		
		
		
		
	</body>
</html>